package com.apps.sannotation.constraints;

import java.lang.annotation.*;

/**
 * 字符串是否在允许范围
 */
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StrRange {

    String[] value();

    String errMsg() default "字符串不在允许范围";

}
